#include "../include/manager.h"
#include "../include/employee.h"
#include <string.h>

Manager::Manager() {}

Manager::Manager(int _id, char _name[20], int _DeptId) {
  this->w_ID = _id;
  strcpy(this->w_Name, _name);
  this->w_DeptId = _DeptId;
}

void Manager::showInfo() {
  cout << "职工编号： " << this->w_ID << " \t职工姓名： " << this->w_Name
       << " \t岗位：" << this->getDeptName()
       << " \t岗位职责：将老板发布的任务交给员工" << endl;
}

string Manager::getDeptName() { return "经理"; }
